<?php
/**
 * @copyright	Copyright (C) 2008 - 2009  All rights reserved.
 * @license		
 */

// no direct access
defined('_JEXEC') or die('Restricted access');

/*
 * Module chrome for rendering the module in a slider
 */
function modChrome_vt_xhtml($module, &$params, &$attribs)
{
	if (!empty ($module->content)) : ?>
		<div class="moduletable<?php echo $params->get('moduleclass_sfx'); ?>">
		<?php if ($module->showtitle != 0) : ?>
			<h3><div><span><?php echo $module->title; ?></span></div></h3>
		<?php endif; ?>
			<?php echo $module->content; ?>
		</div>
	<?php endif;
}
function modChrome_vt_rounded($module, &$params, &$attribs)
{
	if (!empty ($module->content)) : ?>
		<div class="vt_module<?php echo $params->get('moduleclass_sfx'); ?>"><div class="rounded1"><div class="rounded2"><div class="rounded3">
		<?php if ($module->showtitle != 0) : ?>
			<h3><div><span><?php echo $module->title; ?></span></div></h3>
		<?php endif; ?>
			<div class="vt_module_content"><?php echo $module->content; ?></div>
		</div></div></div></div>
	<?php endif;
}
?>